﻿namespace NorthernLights.Controls
{
    using System;

    /// <summary>
    /// InputBoxEventArgs class.
    /// </summary>
    public class InputBoxEventArgs : EventArgs
    {
        #region Constructor
        /// <summary>
        /// Initializes a new instance of the InputBoxEventArgs class.
        /// </summary>
        /// <param name="isCancelled">A value indicating whether the InputBox was cancelled.</param>
        public InputBoxEventArgs(bool isCancelled)
        {
            this.IsCancelled = isCancelled;
        }
        #endregion

        #region Public properties
        /// <summary>
        /// Gets a value indicating whether the InputBox was cancelled.
        /// </summary>
        public bool IsCancelled { get; private set; }
        #endregion
    }
}
